page-home {

  /*头部搜索栏*/
  .header-search {
    background-color: transparent;
    width: 100%;
    position: fixed;
    height: 40px;
    z-index: 2;
    display: inline-block;

    .header-search-bgColor {
      width: 100%;
      height: 40px;
      opacity: 0;
      background-color: #e0e0e0;
      position: absolute;
      border: 1px solid #ccc;
    }

    .header-swiper-input {
      margin: 0 10px;
      line-height: 40px;

      div {
        position: absolute;
        background-repeat: no-repeat;
        background-size: 20px;
        left: 19px;
        top: 2px;
        width: 21px;
        height: 21px;
        z-index: 2;
        display: inline-block;
      }

      ion-icon {
        color: #6A6A6A;
      }

      input {
        width: 90%;
        height: 30px;
        text-indent: 5px;
        opacity: 0.6;
        font-weight: 400;
        color: #000;
        padding: 0 0 0 25px;
        border-radius: 5px;
        border: 1px solid #ccc;
      }

      input:focus {
        opacity: .85;
      }

      .headerBar-login {
        width: 30px;
        height: inherit;
        position: absolute;
        right: 7px;
        display: inline-block;
      }

      .headerBar-login span {
        color: #ffffff;
        font-size: 15px;
        display: inline-block;
      }
    }
  }

  /* 轮播图 */
  .swiper-container {
    width: 100%;
    height: 180px;
    text-align: center;
    font-size: 25px;
    color: #fff;

    .swiper-img {
      min-height: 100%;
      width: 100%;
      height: auto;
      position: fixed;
      top: 0;
      left: 0;
    }
  }

  /*功能导航*/
  #nav {
    height: 170px;
    width: 100%;
    padding: 0 3%;
    background-color: #fff;
    overflow: hidden;
    /*box-shadow: 0 1px 1px #ebebeb;*/
  }
  #nav span {
    display: block;
    float: left;
    width: 25%;
    height: 60px;
    margin-top: 16px;
  }
  #nav span img {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }
  #nav span h2 {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
  }

  /* 分类标题 */
  .floor {
    margin: 0 5px 5px;
    background-color: #fff;
    box-shadow: 0 1px 1px #dcdcdc;
    overflow: hidden;

    .floor-title {
      float: left;
      font-size: 15px;
      padding: 8px 0 5px 7px;
    }

    .floor-title:before {
      display: inline-block;
      content: '';
      width: 3px;
      height: 12px;
      background-color: #d8505c;
      margin: 1px 7px 0 0;
    }

    .floor-more {
      float: right;
      margin-right: 5px;
      padding: 8px 0 5px 7px;
      font-size: 14px;
      color: #6A6A6A;
    }

  }

  //推荐商品
  .floor-detail-slide {

    ion-scroll {
      width: 100%;
      height: 120px;
    }

    .clearfix:after {
      content: "";
      display: block;
      height: 0px;
      clear: both;
    }

    .price{
      color: #D0021B;
    }

    ul {
      margin: 0;
      list-style: none;
      padding: 0px 5px;

      li {
        width: 80px;
        height: 120px;
        float: left;
        margin-right: 10px;

        p {
          padding: 4px;
          margin: 0px;
        }

      }

    }

  }

  .floor-product {

    img{
      display: block;
      margin: 0 auto;
      max-width: 100%;
    }

    .floor-product-text {
      height: 3.2em;
      overflow: hidden;
    }

    .floor-product-price{
      color:red;
    }
    .floor-product-price-old{
      text-decoration: line-through;
    }

  }

}
